<?php
header("content-type:text/html;charset=utf-8");
	$ip = "123";
	 //$_COOKIE["ip"]
	$test = $_COOKIE["ip"];
	//"119.165.72.165"
	$ge =  $_COOKIE["gee"];
	$gan = $_COOKIE["la"];
	echo $test;
	//echo $ge;
	$con=mysqli_connect("","","");
	if (!$con)
  {
  die('Could not connect: ' . mysqli_error());
  }
   mysqli_select_db($con,"test");
	mysqli_query($con,"INSERT INTO ip (Id) VALUES ('$test')");  //写入数据库
	mysqli_query($con,"insert into ip (Id) value('$ge')");//写入数据库
mysqli_query($con,"insert into ip (Id) value('$gan')");//写入数据库
	header("Location: Welcom.html"); 
?>